<h1>Listing answer_contents</h1>

<table>
  <tr>
    <th>Content</th>
    <th>Answer</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @answer_contents.each do |answer_content| %>
  <tr>
    <td><%= answer_content.content.name %></td>
    <td><%= answer_content.answer.description %></td>
    <td><%= link_to 'Show', answer_content %></td>
    <td><%= link_to 'Edit', edit_answer_content_path(answer_content) %></td>
    <td><%= link_to 'Destroy', answer_content, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Answer content', new_answer_content_path %>
